package cc.rengu.redp.bizimpl.igas.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 刘玉亮.LL
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_S_USER_INFO")
@ApiModel(value = "SUserInfo对象", description = "")
public class SUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "用户标识")
    @TableField("USER_ID")
    @TableId(type= IdType.ASSIGN_ID)
    private String userId;

    @ApiModelProperty(value = "用户登录账号")
    @TableField("USER_LOGIN_ID")
    private String userLoginId;

    @ApiModelProperty(value = "用户openId")
    @TableField("OPEN_ID")
    private String openId;

    @ApiModelProperty(value = "手机银行用户")
    @TableField("USER_MOBILE_ID")
    private String userMobileId;

    @ApiModelProperty(value = "用户名")
    @TableField("USER_NAME")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    @TableField("NICK_NAME")
    private String nickName;

    @ApiModelProperty(value = "用户性别")
    @TableField("USER_SEX")
    private String userSex;

    @ApiModelProperty(value = "用户生日")
    @TableField("BIRTHDAY")
    private String birthday;

    @ApiModelProperty(value = "手机号码")
    @TableField("MOBILE_NO")
    private String mobileNo;

    @ApiModelProperty(value = "电子邮件")
    @TableField("EMAIL")
    private String email;

    @ApiModelProperty(value = "登录密码")
    @TableField("LOGIN_PASSWORD")
    private String loginPassword;

    @ApiModelProperty(value = "登录密码有效期")
    @TableField("LOGIN_PASSWORD_EXPIRY_DATE")
    private String loginPasswordExpiryDate;

    @ApiModelProperty(value = "交易密码")
    @TableField("TRANS_PASSWORD")
    private String transPassword;

    @ApiModelProperty(value = "用户状态")
    @TableField("USER_STATUS")
    private String userStatus;

    @ApiModelProperty(value = "用户图像存储路径")
    @TableField("USER_IMAGE_PATH")
    private String userImagePath;

    @ApiModelProperty(value = "登录权限标志")
    @TableField("LOGIN_AUTH_FLAG")
    private String loginAuthFlag;

    @ApiModelProperty(value = "登录超时时间")
    @TableField("LOGIN_TIME_OUT")
    private String loginTimeOut;

    @ApiModelProperty(value = "用户最后登录日期")
    @TableField("LAST_LOGIN_DATE")
    private String lastLoginDate;

    @ApiModelProperty(value = "连续登录失败次数")
    @TableField("LOGIN_ERROR_TIMES")
    private Integer loginErrorTimes;

    @ApiModelProperty(value = "前3次修改密码值")
    @TableField("LAST_UPDATE_PASSWORD")
    private String lastUpdatePassword;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("REMARK3")
    private String remark3;


}
